package sctu.edu.java.year2016.team04.yanghuilin.day20160529.chapter8_3;

/**
 * Created by dell on 2016/5/29.
 */
public class Children {


    //定义成员变量
    String gender;
    int age = 8;
    int idCard;

    //定义成员方法
    void play(){
        String p = "play games.";
        String r = "play balls.";
        System.out.println("Children can " +p);
        System.out.println("Children can " +r);
    }
    void study(){
        String c = "learn Chinese.";
        String m = "learn math.";
        String e = "learn English";
        System.out.println("Children can " +c);
        System.out.println("Children can " +m);
        System.out.println("Children can " +e);
    }
}
